package com.foreknow.trains.train1;


public class Print implements InterfaceA, InterfaceB {

    private int num=65;
    @Override
    public void printCapitalLetter() {
        for (int i=0;i<26;i++){
            char cap=(char)(num+32+i) ;
            System.out.print(cap+" ");
        }
    }

    @Override
    public void printLowercaseLetter() {
        for (int i=0;i<26;i++){
            char lower= (char) (num+i);
            System.out.print(lower+" ");
        }
    }
}
